chcp 65001

set /p port=请输入端口: 

netstat -nao | findstr "%port%"

set /p pid=请输入PID: 

taskkill -pid %pid% -f

pause